package com.zslibrary.Protocol;

import com.zslibrary.Enum.BoardId;
import com.zslibrary.Enum.Protocol;
import com.zslibrary.Pipe.Pipe;
import com.zslibrary.Structure.GeneralRequestStruct;
import com.zslibrary.Tools.FrameBuilder;

public class Service {
    public static void resetBoard(Pipe pipe,@BoardId.BoardAdress int boardAdress){
        GeneralRequestStruct request=new GeneralRequestStruct();
        request.requstId= Protocol.MSG_BOARD_RESET;
        request.dataLength=0;
        pipe.synchronousPipe(request,null);
    }
}
